<?php
namespace Model;
use Fuel\Core\Model_Crud;

//Model Hoteles-->
    
    class Hoteles extends Model_Crud{
        
        protected static $_table_name = "hoteles";
        protected static $_primay_key = "hotelesId";
        
        protected static $_rules = array(
            
            'hotelesId' => 'required',
            'nombre' => 'required',
            'reseña' => 'required',
            'direccion' => 'required',
            'telefono' => 'required',
            'paginaweb' => 'required',
            'horarios' => 'required',
            'formasdepago' => 'required',
            'correoreservas' => 'required',
            
        );
    }
?>
